package com.aliware.edas;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

@Component
public class EchoServiceImp implements  EchoService{
//Hystrix熔断器 fallback返回
    @Override
    public String echo(@PathVariable("str") String str) {
        return str+"链接不上";
    }
}
